package cn.kkcxy.blog.system.service.sys;

import cn.kkcxy.blog.core.entity.sys.SysUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author kk
* @description 针对表【sys_user_role(用户角色)】的数据库操作Service
* @createDate 2024-09-11 00:50:27
*/
public interface SysUserRoleService extends IService<SysUserRole> {

    /**
     * @description: 插入用户角色关联信息
     * @author: kkcxy
     * @date: 2024/9/12 1:33
     * @param: [userId, id]
     * @return: java.lang.Boolean
     **/
    Boolean saveUserRole(Long userId, Long roleId);
}
